package com.dzt.androidframework.network;

import android.content.Context;

import rx.Observable;

/**
 * Created by M02323 on 2017/12/6.
 */

public class DataManager {
	private RetrofitService mRetrofitService;

	public DataManager(Context context) {
		mRetrofitService = RetrofitHelper.getInstance(context).getServer();
	}

	public Observable<Book> getSearchBooks(String name, String tag, int start, int count) {
		return mRetrofitService.getSearchBooks(name, tag, start, count);
	}
}
